<div class="eavFields form">
<?php 
	if(isset($this->data[$fieldModelAlias]['other_information']) && is_array($this->data[$fieldModelAlias]['other_information']))
	{
		$this->data[$fieldModelAlias] = am($this->data[$fieldModelAlias]['other_information'],$this->data[$fieldModelAlias]);
		$form->data = $this->data;
	}
echo $form->create($fieldModelAlias, array('url'=>'/'.$this->params['url']['url']));?>
	<?php
		$fields = cri($fieldModelAlias)->getFields("group","add");
		foreach($fields as $field)
		{
			if($field == "options")
			{
				echo $form->input($field,array("label"=>"Options (sort option field to change order)"));
			}else
			{
				echo $form->input($field);
			}
		}
	?>
		<!-- <a href="javascript:void();" onclick="return insertRange();">Insert numeric range</a>	 -->
<?php echo $form->end(__('Submit'));?>
</div>
<?php echo $this->element('form_js')?>
